<template>
  <div class="app-container" >
      <el-card class="box-card went">
        1.一级菜单下有子菜单时，该菜单不可删除。<br/>
        2.在编辑中，二级菜单可以移动至其它一级菜单下。
      </el-card>

    <el-card class="box-card ">
    <el-table
      :data="tableData"
      size="small"
      style="width: 100%">
      <el-table-column
        prop="date"
        label="名称"
        show-overflow-tooltip
      />
      <el-table-column
        prop="name"
        label="排序"
        show-overflow-tooltip
      />
      <el-table-column label="操作">
        <el-button
          size="mini"
          @click="HelpEdit(scope.$index, scope.row)"
        >编辑</el-button>
        <el-button
          size="mini"
          @click="HelpDelete(scope.$index, scope.row)"
        >删除</el-button>
      </el-table-column></el-table>
    </el-card>
  </div>
</template>
<script>
export default {
  name: 'HelpMenu',
  data(){
    return{

    }
  },
  methods:{
    //编辑
    HelpEdit(){

    },
    //删除
    HelpDelete(){

    }
  },
}
</script>

<style scoped>
.went{
  margin: 10px auto;
  color:#b3450e;
  font-size: 14px;
}
.el-table td,.el-table th {
  text-align: center !important;
}
::v-deep .el-table th,
::v-deep .el-table td {
  text-align: center !important;
}
</style>
